#!/bin/bash

############################################
##
##    FTPd Install Script
##
##    Created by: h3lbr0 // atvMod.com
##
############################################

# Copy Files
sudo cp usr/libexec/ftpd /usr/libexec
sudo cp System/Library/LaunchDaemons/ftp.plist /System/Library/LaunchDaemons/

# Fix Ownerships and Permissions
sudo chown root:wheel /System/Library/LaunchDaemons/ftp.plist
sudo chown root:wheel /usr/libexec/ftpd
sudo chmod 755 /System/Library/LaunchDaemons/ftp.plist
sudo chmod 755 /usr/libexec/ftpd